import java.sql.* ;
class FunVendorDetails
{

	public static void main(String[] s)
	{

	try
	{


	String[] cs = {"100","rahul","41-A,ganesh vihar","Model town-B","Jagatpura Road","jaipur","rajasthan",
			"India","302017","9462040300","9001433241","girishkumargupfta3@gmail.com" } ;
		//VendorDetails vd = new VendorDetails(cs) ;
VendorDetails vd = new VendorDetails() ;

//vd.insertDetailsInDB();..............working successfully...........

			//vd.updateDetailsInDB(cs) ; ..............working successfully...........

				//ResultSet rs = vd.getVendorDetails() ; //.............working successfully...........

				ResultSet rs = vd.getVendorDetails(101) ;//.............working successfully...........

				while(rs.next() )
				{
					System.out.println(rs.getInt(1)+" "+rs.getString(2)+" "+rs.getString(3)+" "
					+rs.getString(4)+" "+rs.getString(5)+" "+rs.getString(6)+" "+rs.getString(7)+" "
					+rs.getString(8)+" "+rs.getString(9)+" "+rs.getString(10)+" "+rs.getString(11)+" "
					+rs.getString(12));

				}

				rs.close();

	}
	catch(Exception e)
	{}


	}

}